## 递归函数

def fun2(n):
    if n==1:
        return 1
    else:
        return fun2((n-1))

print(fun2(6))

'''
def fun(arg, sum):
    if arg > 1:
        arg2 = arg - 1
        tem = sum * arg2
        print('%d * %d = %d' % (sum, arg2, tem))
        fun(arg2, tem)
    return 0

num = 6
fun(num, num)

'''




